package com.ldatum.crm.util;

import java.io.InputStream;
import java.util.Properties;



public class ConfigUtil {
	private static Properties props = new Properties();
	static{
//		InputStream ips ;
		ClassLoader loader = ConfigUtil.class.getClassLoader();
		InputStream ips = loader.getResourceAsStream("util/config.properties");
		try {
			props.load(ips);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
	public static String getValue(String key){
		return props.getProperty(key);
	}
	public static void main(String[] args) {

		System.out.println(getValue("EmployeeDAO"));
	}
}
